import java.io.File;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;

import org.jibble.pircbot.PircBot;

import saiboten.ChannelAction;


public class TestTest {
	final String URL = "http://rasmus.uib.no/~psk085/quiz.txt";
	
	public static void main(String[] args) {
		TestTest test = new TestTest();
		test.reloadQuestions(test.URL);
	}
	
	
	
	
	public void reloadQuestions(String url) {
		try {
			Scanner scanner = new Scanner(new File(url));
			while(scanner.hasNextLine()) {
				String line = scanner.nextLine();
				System.out.println(line);
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}
	
	
}
